import request from '@/utils/request';
export function  getPage(articleGroupId){
    return request({
        url:`jsArticle/page?groupId=${articleGroupId} &pageNum=1&pageSize=10`,
        method:'get',
    });
}
export  function  getGroup(params){
    return request({
        url:`/jsArticle`,
        method:'put',
        data: params,
    });
}
export  function  getadddData(params){
    return request({
        url:`/jsArticle`,
        method:'post',
        data: params,
    });
}
export function  deleteD(articleId){
    return request({
        url:`jsArticle?articleIdList=${articleId}`,
        method:'delete',
    });
}
